package site.jlopen.domain.datasource;

import java.util.Date;
/**
* @ClassName: KusciaDatasourceOss
* @Description: kuscia_datasource_oss表：kuscia_datasource_oss
* @author 码农小鹿
* @date 2024-10-18
 */
public class KusciaDatasourceOss {
	/**
	 * 主键
	 */
	private Long ossId;
	/**
	 * 所属数据源
	 */
	private Long ossDatasourceId;
	/**
	 * 对象存储系统的链接地址
	 */
	private String ossEndpoint;
	/**
	 * 对象存储系统桶bucket名称
	 */
	private String ossBucket;
	/**
	 * 存储系统的路径前缀
	 */
	private String ossPrefix;
	/**
	 * OSS所需的AK
	 */
	private String ossAccessKeyId;
	/**
	 * OSS所需的SK
	 */
	private String ossAccessKeySecret;
	/**
	 * 阿里云OSS时使用，同阿里云OSS中的virtualhost定义
	 */
	private String ossVirtualhost;
	/**
	 * AWSS3协议版本号，可不填
	 */
	private String ossVersion;
	/**
	 * 存储系统类型，如oss，minio；支持标准AWSS3的对象存储系统可不填
	 */
	private String ossStorageType;
	/**
	 * 创建时间
	 */
	private Date ossCreate;
	/**
	 * 修改时间
	 */
	private Date ossModified;

	public KusciaDatasourceOss() {
		super();
	}
	
	public Long getOssId() {
		return ossId;
	}
	public KusciaDatasourceOss setOssId(Long ossId) {
		this.ossId = ossId;
		return this;
	}
	
	public Long getOssDatasourceId() {
		return ossDatasourceId;
	}
	public KusciaDatasourceOss setOssDatasourceId(Long ossDatasourceId) {
		this.ossDatasourceId = ossDatasourceId;
		return this;
	}
	
	public String getOssEndpoint() {
		return ossEndpoint;
	}
	public KusciaDatasourceOss setOssEndpoint(String ossEndpoint) {
		this.ossEndpoint = ossEndpoint;
		return this;
	}
	
	public String getOssBucket() {
		return ossBucket;
	}
	public KusciaDatasourceOss setOssBucket(String ossBucket) {
		this.ossBucket = ossBucket;
		return this;
	}
	
	public String getOssPrefix() {
		return ossPrefix;
	}
	public KusciaDatasourceOss setOssPrefix(String ossPrefix) {
		this.ossPrefix = ossPrefix;
		return this;
	}
	
	public String getOssAccessKeyId() {
		return ossAccessKeyId;
	}
	public KusciaDatasourceOss setOssAccessKeyId(String ossAccessKeyId) {
		this.ossAccessKeyId = ossAccessKeyId;
		return this;
	}
	
	public String getOssAccessKeySecret() {
		return ossAccessKeySecret;
	}
	public KusciaDatasourceOss setOssAccessKeySecret(String ossAccessKeySecret) {
		this.ossAccessKeySecret = ossAccessKeySecret;
		return this;
	}
	
	public String getOssVirtualhost() {
		return ossVirtualhost;
	}
	public KusciaDatasourceOss setOssVirtualhost(String ossVirtualhost) {
		this.ossVirtualhost = ossVirtualhost;
		return this;
	}
	
	public String getOssVersion() {
		return ossVersion;
	}
	public KusciaDatasourceOss setOssVersion(String ossVersion) {
		this.ossVersion = ossVersion;
		return this;
	}
	
	public String getOssStorageType() {
		return ossStorageType;
	}
	public KusciaDatasourceOss setOssStorageType(String ossStorageType) {
		this.ossStorageType = ossStorageType;
		return this;
	}
	
	public Date getOssCreate() {
		return ossCreate;
	}
	public KusciaDatasourceOss setOssCreate(Date ossCreate) {
		this.ossCreate = ossCreate;
		return this;
	}
	
	public Date getOssModified() {
		return ossModified;
	}
	public KusciaDatasourceOss setOssModified(Date ossModified) {
		this.ossModified = ossModified;
		return this;
	}
	
}